package com.ruoyi.campus.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 留言板回复信息对象 my_reply
 *
 * @author zht
 * @date 2021-10-24
 */
public class MyReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回复ID */
    private String rId;

    /** 评论ID */
    @Excel(name = "评论ID")
    private String cId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String comId;

    /** 被回复用户ID */
    @Excel(name = "被回复用户ID")
    private Long cuserId;

    /** 被回复用户账号 */
    private String cuserName;

    /** 商品发布者ID */
    @Excel(name = "商品发布者ID")
    private Long spuserId;

    /** 商品发布者账号 */
    private String spuserName;

    /** 回复内容 */
    private String reContent;

    /** 回复者ID */
    @Excel(name = "回复者ID")
    private Long ruserId;

    /** 回复者账号 */
    private String ruserName;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date reTime;

    /** 回复状态 0异常 1正常 2已删除 */
    @Excel(name = "回复状态 0异常 1正常 2已删除")
    private String reStatus;

    public void setrId(String rId)
    {
        this.rId = rId;
    }

    public String getrId()
    {
        return rId;
    }
    public void setcId(String cId)
    {
        this.cId = cId;
    }

    public String getcId()
    {
        return cId;
    }
    public void setComId(String comId)
    {
        this.comId = comId;
    }

    public String getComId()
    {
        return comId;
    }
    public void setCuserId(Long cuserId)
    {
        this.cuserId = cuserId;
    }

    public Long getCuserId()
    {
        return cuserId;
    }
    public void setSpuserId(Long spuserId)
    {
        this.spuserId = spuserId;
    }

    public Long getSpuserId()
    {
        return spuserId;
    }
    public void setReContent(String reContent)
    {
        this.reContent = reContent;
    }

    public String getReContent()
    {
        return reContent;
    }
    public void setRuserId(Long ruserId)
    {
        this.ruserId = ruserId;
    }

    public Long getRuserId()
    {
        return ruserId;
    }
    public void setReTime(Date reTime)
    {
        this.reTime = reTime;
    }

    public Date getReTime()
    {
        return reTime;
    }
    public void setReStatus(String reStatus)
    {
        this.reStatus = reStatus;
    }

    public String getReStatus()
    {
        return reStatus;
    }

    public String getCuserName() {
        return cuserName;
    }

    public void setCuserName(String cuserName) {
        this.cuserName = cuserName;
    }

    public String getSpuserName() {
        return spuserName;
    }

    public void setSpuserName(String spuserName) {
        this.spuserName = spuserName;
    }

    public String getRuserName() {
        return ruserName;
    }

    public void setRuserName(String ruserName) {
        this.ruserName = ruserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rId", getrId())
            .append("cId", getcId())
            .append("comId", getComId())
            .append("cuserId", getCuserId())
            .append("cuserName", getCuserName())
            .append("spuserId", getSpuserId())
            .append("spuserName", getSpuserName())
            .append("reContent", getReContent())
            .append("ruserId", getRuserId())
            .append("ruserName", getRuserName())
            .append("reTime", getReTime())
            .append("reStatus", getReStatus())
            .toString();
    }
}
